// 导入封装的axios
import axios from "@/utils/http";
// 导入封装的接口地址
import * as baseURL from "@/api/url";

//分页查询迁入迁出记录
export const PageInfoAPI = (params) => {
    return axios({
        url: baseURL.record_checkIO_url,
        method: 'get',
        params,
    });
};
//编辑记录
export const editRecordInfoAPI = (data) => {
    return axios({
        url: baseURL.record_checkIO_edit_url,
        method: 'post',
        data,
    });
};
//删除记录
export const deleteRecordByIdAPI = (data) => {
    return axios({
        url: baseURL.record_checkIO_del_url,
        method: 'post',
        data,
    });
};